diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 106164d2..29e540fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,14 +12,6 @@ jobs: name: Check Style runs-on: ubuntu-latest steps: - - name: Paths Changes Filter - uses: dorny/paths-filter@v2.11.1 - with: - filters: | - mnt4_753_is_updated: - - 'mnt4_753/**' - mnt6_753_is_updated: - - 'mnt6_753/**' - name: Checkout uses: actions/checkout@v3 - name: Install Rust @@ -114,36 +106,42 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Paths Changes Filter + uses: dorny/paths-filter@v2.11.1 + with: + filters: | + mnt4_753_is_updated: + - 'mnt4_753/**' + mnt6_753_is_updated: + - 'mnt6_753/**' - name: Run tests run: | cd ${{matrix.dir}} cargo test --all-features - test-mnt4-753: - name: Test (mnt4_753/) - if: ${{ steps.filter.outputs.mnt4_753_is_updated == 'true' }} - runs-on: macos-latest - needs: [directories] # Waits for the directory listing job - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Run tests - run: | - cd mnt4_753/ - cargo test --all-features - - test-mnt6-753: - name: Test (mnt6_753/) - if: ${{ steps.filter.outputs.mnt6_753_is_updated == 'true' }} - runs-on: macos-latest - needs: [directories] # Waits for the directory listing job - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Run tests - run: | - cd mnt6_753/ - cargo test --all-features + - name: Test (mnt4_753/) + if: ${{ steps.filter.outputs.mnt4_753_is_updated == 'true' }} + runs-on: macos-latest + needs: [directories] # Waits for the directory listing job + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Run tests + run: | + cd mnt4_753/ + cargo test --all-features + + - name: Test (mnt6_753/) + if: ${{ steps.filter.outputs.mnt6_753_is_updated == 'true' }} + runs-on: macos-latest + needs: [directories] # Waits for the directory listing job + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Run tests + run: | + cd mnt6_753/ + cargo test --all-features docs: name: Check Documentation