Ftp integration test #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ftp integration test | |
on: | |
schedule: # execute every 24 hours | |
- cron: "* 0 * * *" | |
workflow_dispatch: | |
jobs: | |
plan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout codes' | |
uses: actions/checkout@v4 | |
with: | |
# fetch depth set to 0 to make sure we have correct diff result. | |
fetch-depth: 0 | |
- name: Setup Rust toolchain | |
uses: ./.github/actions/setup | |
- name: Setup Ftp Server | |
uses: ./.github/services/ftp | |
- name: 'Run integration test for ftp' | |
shell: bash | |
run: | | |
cargo build | |
ls | |
pwd | |
python3 tests/integration_test.py 12000 ftp ./target/debug/replited |